<?php
namespace app\common\config\model;


use think\Model;
use think\model\concern\SoftDelete;

class ConfigStoreMenu extends Model
{
    protected $table = "tk_config_store_menu";

    use SoftDelete;
    protected $defaultSoftDelete = 0;

    // album
    public function setAlbumAttr($value){
        return json_encode($value);
    }
    public function getAlbumAttr($value){
        return $value ? json_decode($value) : [];
    }

}